package day03;

public class Demo02 {
    public static void main(String[] args) {
        int a=5;
        a += 2; // a= (int) ( a+2 )
        System.out.println(a);
        a *= 4; // a=(int) (a*4)
        // 完成 -=  /= %=
        short s =4;
        s = (short) (s + 5);
        s += 5;// s =(short) (s+5)

        byte b=8;
       // b= b+5;// 参与运算数字会以int类型进行计算，计算完赋值需要类型转换
        b = (byte) (b+5);
        b +=3;


    }
}
